#pragma once


class CCharplanDoc;

class CPrintBase
{
    public:
        CPrintBase(void);
        CPrintBase(CCharplanDoc* doc);
        virtual void Create(CCharplanDoc* doc);
        virtual ~CPrintBase(void);


        virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
        virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
        virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
        virtual void OnEndPrintPreview(CDC* pDC, CPrintInfo* pInfo, POINT point, CPreviewView* pView);
        virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);


    protected:

        CCharplanDoc* mpc_doc;
};
